#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>

int main(){
	write(0,"write hello.",12);
	fputs("fputs hell.",stdout);
	fflush(stdout);
	pid_t pid=fork();
	if(pid==-1)return -1;
	printf("pid=%d ppid=%d,hello fork.\n",getpid(),getppid());
	return 0;
}
